<load href="../Public/js/module/App/app.js"/>

<script>
    //    var TYPE_DATA = {
    //        'child_type_list' : '{$childList }'
    //    };
</script>
<div id="div_agents_manager_personnel_dialog"><div id="div_agents_manager_personnel_tree"></div></div>

<div class="sendTitleDiv marginleft10">
    专题管理
</div>
<div class="margintop20 floatRightDiv marginright80">
    <form action="__URL__/subjectManager.shtml"  method="post">
        <div class="floatLeftDiv marginleft50">
            <input type="text" name="name" value="{$name }" class="buttonStyle" />
            <input type="submit" value="搜索" class="buttonStyle" />

            <!--            <input id="btn_app_add_page" type="button" value="添加" class="buttonStyle" />-->
        </div>
    </form>
</div>
<div class="tableInfoDiv margintop10">
    <table id="table_manager">
        <tr>
            <td>
                名称
            </td>
            <!--<td>
                是否为精品推荐
            </td>-->
            <td>
                是否为抓取数据
            </td>
            <td>
                是否已发布
            </td>
            <td>
                日期
            </td>
        </tr>
        <volist name="list" id="l">
            <tr>
                <td>
                    <a href="javascript:void(0);" class="subject_name" s_id="{$l.id }" s_name="{$l.name }">{$l.name }</a>
                </td>
                <!--<td t_id="{$l.id }">
                <if condition="$l.fine eq 1">是
                    <else />否
                </if>
                </td>-->
                <td>
                    是
                </td>
                <td>
                    是
                </td>
                <td>
                    {$l.date }
                </td>
            </tr>
        </volist>
    </table>
</div>
<div id="div_news_page_list" class="margintop10">
    <div class="sabrosus">
        {$show }
    </div>
</div>
<form id="frm_hidden" action="__URL__" method="post">
    <input type="hidden" name="type" value="{$type }" />
</form>

<div id="div_type_dialog" rootTypeId ="" childTypeId =""></div>
<script>
    $(function(){
        $("#table_manager a.subject_name").click(function(){
            $.util.initHiddenFormSubmit($('#frm_hidden'), SYSTEM_DATA.contextPath + '/Subject/scienceManager', [{
                    'name' : 'id', 
                    'value' : $(this).attr('s_id')
                },{
                    'name' : 'name',
                    'value' : $(this).attr('s_name')
                }]);
        });
    });
</script>


